IndiaBIX.com
Arithmetic Aptitude Data Interpretation
Logical Reasoning Verbal Reasoning Non Verbal Reasoning
General Knowledge
Sudoku Number puzzles Missing letters puzzles Logical puzzles Playing cards puzzles Clock puzzles
C Programming C++ Programming C# Programming Java Programming
Microbiology Biochemistry Biotechnology Biochemical Engineering
Chemical Engineering Networking Database Questions Computer Science Basic Electronics Digital Electronics Electronic Devices Circuit Simulation Electrical Enigneering Engineering Mechanics Technical Drawing
Placement Papers Group Disucssion HR Interview Technical Interview Body Language
Aptitude Test Verbal Ability Test Verbal Reasoning Test Logical Reasoning Test C Programming Test Java Programming Test Data Interpretation Test General Knowledge Test
Data Structures Operating Systems Networking DATABASE Database Basics SQL Server Basics SQL Server Advanced SQL Server 2008 JAVA Core Java Java Basics Advanced Java UNIX Unix File Management Unix Memory Management Unix Process Managemnt C Interview Questions The C Language Basics .NET Interview Questions .NET Framework ADO.NET ASP.NET Software Testing

Java Programming - Language Fundamentals - Discussion

@ : Home > Java Programming > Language Fundamentals > General Questions - Discussion

Read more:

"Time and tide wait for none."
- Alexander Pope
5. 

Which is a valid keyword in java?

[A]. interface[B]. string
[C]. Float[D]. unsigned

Answer: Option E

Explanation:

interface is a valid keyword.

Option B is wrong because although "String" is a class type in Java, "string" is not a keyword.

Option C is wrong because "Float" is a class type. The keyword for the Java primitive is float.

Option D is wrong because "unsigned" is a keyword in C/C++ but not in Java.


Anand said: (Thu, Nov 18, 2010 10:01:53 AM)    
 
What is a class type? Any example?

Sundar said: (Thu, Nov 18, 2010 10:11:14 AM)    
 
public class Car
{
...
}

Car c = new Car();


Explanation:

'Car' is a class type.

'c' is an object of type 'Car'.

Raja said: (Sun, Sep 4, 2011 11:28:03 PM)    
 
interface interface name
{
....
}

Gaurav said: (Wed, Feb 1, 2012 11:22:11 AM)    
 
Anyone please tell the functionality of the keyword interface i am new to java....

Milanvachhani.Blogspot.Com said: (Thu, Feb 2, 2012 10:33:48 PM)    
 
Interface is one type of class that do not have method implementation. It contains prototype of methods and variables. Variable of interface are final and static by default. You have to implement interface.

Lemky said: (Mon, Mar 5, 2012 12:39:17 PM)    
 
Float comes under the keywords list in Java. In this question why only interface is the answer ?

Write your comments here:
Name *:     Email:


© 2008-2012 by IndiaBIX™ Technologies. All Rights Reserved | Copyright | Terms of Use & Privacy Policy

Contact us: info@indiabix.com     Follow us on twitter!