Thursday, October 15, 2009

Core Java Very basic Questions || Important Core Java Questions

Java programming language is very vast programming language,even I must say each and every programming language is very vast.Understanding Java programming language and applying its concept needs the knowledge and skills of Java programming language.I have gone through various important questions during my ride to SCJP.So I have prepared a list of such important questions of Java programming language which will help you not only in understanding the topic but also If you are preparing for SCJP they will be helpful.

Try to answer these questions on your own but if you cannot recall the concept go refer book,any core Java book will do.

Important Core Java Questions :-

1.How many access modifiers a class can use and which are they?
2.What are the Instance variables?
3.What are local variables?
4.What is the default access modifier and how it is different from protected access modifier?
5.Can you ever mark a class as final?
6.Is it true that we can use abstract and final both on same time and same Java entity?
7.What is the IS-A and HAS-A relationship in Java?
8.What is multiple inheritance and how you can implement multiple inheritance in Java?
9.What is the size of compiler generated Java Bytecode?
10.Does Interfaces follow the Inheritance?
11.A subclass can inherit the private member of superclass is this statement true,give reason?
12.What is the bit depth of Boolean variable in Java?
13.What will happen if finally block itself generates an Exception?
14.What is exception propagation?
15.How Inheritance is affected by object serialization?

These are a few questions which I thought as Important.Further there are some references I am giving in order to solve these questions.

Suggested Reading:-

Exception Propagation
IS-A and HAS-A relationship
Interfaces rules and Explanations
Why Java classes are not marked final

0 comments:

About This Blog

This Blog is all about Java and programming.This blog is written by Vaibhav Pandey .He is a Computer Science Graduate .You can contact the author at javatute@gmail.com for any suggestion or Query.You can also contact the author for advertising on this blog.All the material presented here is the property of author and its reproduction in any form is strictly prohibited.

Disclaimer:-Download links provided here are not of author in any means.These are found over the Internet.
Page copy protected against web site content infringement by Copyscape

  © Blogger templates The Professional Template by Ourblogtemplates.com 2008

Back to TOP