Java Programming and Technical Programming Definition

Q. What is the difference between this() and super()?

A. This() can be used to invoke a constructor of the same class whereas super() can be used to invoke a super class constructor.

Read Solution (Total 3)

Java Other Question

Q. What is method overloading and method overriding?

A. Method overloading: When a method in a class having the same method name with different arguments is said to be method overloading. Method overriding : When a method in a class having the same method name with same arguments is said to be method overriding.
Q. What is Domain Naming Service(DNS)?

A. It is very difficult to remember a set of numbers(IP address) to connect to the Internet. The Domain Naming Service(DNS) is used to overcome this problem. It maps one particular IP address to a string of characters. For example, www. mascom. com implies com is the domain name reserved for US commercial sites, moscom is the name of the company and www is the name of the specific computer, which is mascom's server