GeekInterview.com
  I am new, Sign me up!
 

Online Test


Online Test Online Test

Brain Gym

Java

Microsoft

Networking

Technology

Testing


Sponsored Links

   Online Test   Java Java

Advance Java Practice Test (Part 1)
Question No. 1 of 30
A constructor
  • must have the same name as the class it is declared within.
  • is used to create objects.
  • may be declared private
  • A and B
  • A, B and C

Related Questions
# Question Details
1 Three friends divided some bullets equally. After all of them shot 4 bullets the total no. of rema...
2 Fill the empty slots. Three FOOTBALL teams are there. Given below is the list of matches. &...
3 There are 3 societies a, b, and c. A lent tractors to B and C as many as they had. After some time...
4 Five people a,b,c,d,e are related to each other. Four of them make one true statement each as foll...
5 boys are allowed to watch football at c.v. Raman auditorium subjected to conditions. i)the boy ov...
6 be * be = acb a,b,c,e are non-zero numbers find b,e.
7 a,b,c,d,e are having numerical values. there are some conditions given a) a=c <===> b!=e b...
8 there are six cards in which it has two king cards. all cards are turned down and two cards are op...
9 a person went to a shop and asked for change for 1.15paise. but he said that he could not only giv...
10 there are 3 nurses and they work altogether only once in a week. no nurse is called to work for 3 ...

Sponsored Links


Related Articles

Microsoft AJAX Library - C# and JavaScript Classes

C and JavaScript Classes For the purpose of demonstrating a few more OOP related concepts we ll use another class Our new class is named Table and it has two public fields rows columns and one method getCellCount The getCellCount method should return the number of rows multiplied by the number of co
 

Class Constructors and destructors in C++

Class Constructors and destructors in C In this C tutorial you will learn about Class Constructors and destructors in C viz Constructors What is the use of Constructor General Syntax of Constructor Destructors What is the use of Destructors and General Syntax of Destructors mosgoogle Constructors Wh
 

SCJP 5 : Chapter 1. Declarations, Initialization and Scoping (Part-6)

SCJP 5 Chapter 1 Declarations Initialization and Scoping Part 6 Given a set of classes and superclasses develop constructors for one or more of the classes Given a class declaration determine if a default constructor will be created and if so determine the behavior of that constructor Given a nested
 

C C Plus Plus Interview Questions

What is the output of printf d Difference between C structure and C structure Difference between a assignment operator and a copy constructor What is the difference between overloading and overriding Explain the need for Virtual Destructor Can we have Virtual Constructors What are the different
 

Swing Extreme Testing - The Constructor Test

The Constructor Test A freshly constructed SaveAsDialog should be in a known state and we need to check the things we listed at the start of this chapter. mosgoogle geshibot language Java 5&quot; public boolean constructorTest Note 1 init ; Note 2 Check the title. assert UI.getTitle ui.dialo
 

Site Login

 

Sponsored Links

 
 
 
About Us -  Privacy Policy -  Terms and Conditions -  Contact  

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape