GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  J2EE  >  Java Patterns
Go To First  |  Previous Question  |  Next Question 
 Java Patterns  |  Question 10 of 19    Print  

What is Dynamic class in Java.

  
Total Answers and Comments: 2 Last Update: March 10, 2008     Asked by: kartheek 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
May 14, 2007 05:56:28   #1  
vibha_kant Member Since: May 2007   Contribution: 5    

RE: What is Dynamic class in Java.
Dynamic class in java is a class laoded at runtime by just knowing its name as a string. You need to call Class.forName() with complete name of the class as input. For ex.
Class c = Class.forName( "com.mypackage.Myclass" );

and can the create object by

MyObject obj = (MyObject) c.newInstance();

 
Is this answer useful? Yes | No
March 10, 2008 05:07:08   #2  
sampra Member Since: February 2008   Contribution: 279    

RE: What is Dynamic class in Java.
dynamic class loading is done by
Class.forName

 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : dynamic class loading is done by Class.forName ...
Read Answers (2) | Asked by : kartheek

Latest Answer : There is three category in the design pattern realm 1- Creation2- Structure3- Behavioraleach category has its pattern this page may help you:http://en.wikipedia.org/wiki/Category:Software_design_patternsActually the most suitable pattern for web application ...
Read Answers (1) | Asked by : surendra babu

Explain java patterns in detail? Any difference between Design patterns and java patterns ? . Explain about advantages of using patterns with an example. 
Latest Answer : Let's first understand what a design pattern is. When a problem occurs repetitively in all application across programmers, the solution to that problem is defined as a design pattern. Most of design patterns are language independent strategies ...
Read Answers (1) | Asked by : Rashmi


 Sponsored Links

 
Related Articles

Service Oriented Java Business Integration Review

Service Oriented Java Business Integration Review Introduction If you ve read through the texts which give you an introduction to SOA or Web Services you will often find them to be quite frustrating and the reason for this is because they spend too much time referencing business processes which are
 

C++ Pure Virtual Function and Base Class

C Pure Virtual Function and Virtual Base Class In this C tutorial you will learn about pure virtual function declaration of pure virtual function and virtual base class virtual base class and how to implement a virtual base class explained with examples mosgoogle center What is Pure Virtual Function
 

Java and Client Server Models

Java and Client Server Models The Role of Client Servers on the Web Client server models provide the essential mechanisms for working with the Internet In fact most of the World Wide Web is built according to this paradigm In client server models the web browsers run by millions of users are the cli
 

How to Access C++ Class Members

How to Access C Class Members In this C tutorial you will learn how to access Class members dot operator or class member access operator difference between struct and class and  scope resolution operator mosgoogle center It is possible to access the class members after a class is defined an
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Using UML with Java

Using UML with Java While Java is not a new language its application for the development of embedded systems is quite new Developers are beginning to take a second look at modeling languages such as UML and many feel it can be a powerful tool in their development arsenal mosgoogle center Introductio
 

NLP Persuasion Patterns and Benefits

NLP Persuasion Patterns and Benefits Persuasion is an art mastered by only a select few Most often than not people engage in conversations that lack tact skill and wit In this modern age it has become highly essential to persuade and influence people in business or in personal life mosgoogle center
 

UML Elements : Class Diagram

UML Elements UML 2 0 is comprised of a total of 13 diagrams If you wish to understand these diagrams they should be organized based on a hierarchy For UML a diagram is an element which must define which things should be modeled in a system mosgoogle center Introduction to Class Diagram In this arti
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape