Home / 2017 / July (page 2)

Monthly Archives: July 2017

AngularJs Datepicker Directive

AngularJS actually provides a special controller for interacting with thatngModel you can use inside your directives; just add torequire: 'ngModel' your function your directive definition.This gives you a fourth your function parameter to,link which is the controller you asked for in require–in this case, an instance of ngModelController. It has …

Read More »

Class.forName

class.forName is one way to creating Object in Java programming Languages When Class.forName function is called at that time 3 Operations will be performed Loads the calls from Secondary Memory to primary Memory Created an Object for that Class Registed the calls in Driver. Hope you came to know about …

Read More »

Java Access Modifiers and Non-access Modifiers

Like other languages, it is possible to modify classes, methods, etc., by using modifiers. There are two categories of modifiers − Access Modifiers − default, public, protected, private Non-access Modifiers − final, abstract, strictfp

Read More »

Java Encapsulation

Hi, guys in this article we are going see the “Java Encapsulation” Topic, which is pretty simple to understand and to implement. We Call Functions as Methods in Java.   Important Notes: If you take a look at the documentation, it says, that expectsMath.pow() two doublesand returns a double. When you pass …

Read More »

Java Comments

Comments plays and importent role in realtime development. when we work in a team , many people invovled to work in a same module, at that point one developer code should be undersndable by other developer. New developer start reviewing code to know about the pursos of code. that it …

Read More »

Error: Could not find or load main class HelloWorld

HelloWorld.Java class HelloWorld { public static void main(String args[]){ System.out.println(“My First Program”); } }   Command prompt:  java> javac HelloWorld.java java> java HelloWorld Error: Could not find or load main class HelloWorld   Try  java -cp . Hello \java>java -cp . HelloWorld My First Program  

Read More »

What is Java .? Why is Java .? When we Use Java .?

That Most impotent question for the Java Learners and Upcoming Developers, those who are moving from Other technologies to Java is  What is Java .? Why is Java .? When we Use Java .?   Hope this Article will give you an Idea about Java and its Future and Difference …

Read More »

Java a platform dependent Technology

Yes, what you heard is right “Java a platform dependent Technology”. I will give you the clarity Remember these 3 files “file.java -> file.class -> file.exe”. Everyone knows that java compiler compiles “file.java” and generates “file.class” if JVM runs then file.class turns to machine level language than the program executes. But the fact is …

Read More »