answersLogoWhite

Top Answer
User Avatar
Wiki User
Answered 2011-01-29 08:44:07

this in java is a keyword that refers to the current object of the class. It is also used in constructor overloading when you want to invoke one constructor from another within the same class.

001
๐Ÿ™
0
๐Ÿคจ
0
๐Ÿ˜ฎ
0
๐Ÿ˜‚
0
User Avatar

Your Answer

Related Questions


In Java, a function is called a "method". In Java as well as other languages, a method is a function defined specifically for one class. In Java, this is the only way to define functions, therefore, all functions are methods.In Java, a function is called a "method". In Java as well as other languages, a method is a function defined specifically for one class. In Java, this is the only way to define functions, therefore, all functions are methods.In Java, a function is called a "method". In Java as well as other languages, a method is a function defined specifically for one class. In Java, this is the only way to define functions, therefore, all functions are methods.In Java, a function is called a "method". In Java as well as other languages, a method is a function defined specifically for one class. In Java, this is the only way to define functions, therefore, all functions are methods.


No. It is a user defined function which the person who is creating the java class has to code by himself.


In Java, there are no functions. They call it method and you can define it within a class.


The Java Runtime Environment invokes main methods.


Java is pure object oriented language, and C++ is not, because you can access the private member of classes in c++ by using the friend function. There is no such function within java.


A function is a piece of code that can be reused by calling its name while a method is a function that is associated with a class. In Java, functions are usually referred to as static methods.


A member function is simply a function (or method in Java) that is part of a class.


A Java method is a sequence of statements. It is comparable to a function, subroutine, or procedure in other languages.


Because Friend function support to access private variable of another class. so security purpose java wont allow.


Function prototyping isn't necessary in Java, but what function prototyping means is simply establishing the "signature" of the "function" (functions are referred to as 'methods' in Java) before the method is defined. The signature includes the visibility of the function (public, private, protected), the return type, the method name, the list of arguments the method takes, and any throws, extends, or implements clauses.


It is the default argument name for all Java BIF (Built-In Function)s.


A function created by the user. In Java, functions are attached to a class, and are called "methods".


Programming languages share a lot of the same characteristics. One main difference between Java and Python is the function identifier. In Java it is function and in Python it is def.


Any function or method in Java that is coded by the programmer is called a user defined method in Java. The JAVA API (Application Programming Interface) has a set of predefined classes & methods that are for our usage. Whatever methods we create apart from these are termed as user defined methods. In java we not use the term functions. We call them "Methods"


You can not overwrite a static method in Java,and 'main' is a static method.so,you can't overwrite the 'main'.


Java is a simple . Because java has the more library function than c/c++ language.By the help of this library, the developer only focuses on the business logic then java is a simple language.


I don't believe that Excel has such a function; you'll have to write one yourself.


Java is an object oriented programming language that is syntactically similar to C++. It runs on the Java virtual machine, which allows it to function as a cross platform language.


it will show output fastly. when compare with system.out.print


The main function. Every program must have a main function and it must be declared static.


It allows you to keep the original object untouched. In Java, objects are accessed by reference meaning that when you pass it in a function, anything done to it in the function modifies the original object directly.


we cant use set timeout function in php because it is of java script function


That means, the header of a function. The header is the top part, before the opening braces.


In some instances, after installing Java 7 Update 25 (7u25) using Internet Explorer, Java apps do not function. Java is free to download. Edit (Geocasher): If you want to know how to program Java, I would suggest looking at the Intro to Java class from MIT. They put up the lesson notes and assignments.


function in the scripting language can give an attribute to something to make it preform a task that you want it to handle.



Copyright ยฉ 2021 Multiply Media, LLC. All Rights Reserved. The material on this site can not be reproduced, distributed, transmitted, cached or otherwise used, except with prior written permission of Multiply.