Skip to main content

Hello World

Hello everybody whats up this is just for the test

Comments

Popular posts from this blog

Angular JS Warm-Up

Angular JS is not just another javascript library but an client side javascript framework developed and maintained by Google. AngularJS brings in a revolution in the field of Single Page Application (SPAs) allowing to write a propered architectured, maintainable and testable client side code. It's ability to bring in the power of MVC framework in client side programning is one of the reason it's being popular these days. As we know good software design has High Cohesion (how well does that one thing stick to do just one thing) and  Loose Coupling (least possible dependency of one component on another component)Angular JS offers MVC/MVVM paradigm to create components more flexible and loosely coupled Being an client side framework, Angular JS comprised of HTML, CSS and JavaScript/TypeScript. Angular JS was written in TypeScript because: script with type is typescript and script without type is JavaScript 😂🤣 #devQuotes — ashwin (@AshwinJung) October 22, 201...

Is java pass by value or pass by reference ??

After getting familiar with java programming fundamentals one with programming mind always thinks about 'is java pass by value or reference '. Throughout this blog we would be able to conclude that java is pass by value. Java is always pass by value, often confusion occurs when Object are passed into method as arguments. Pass by value: Make a copy in memory of the actual parameter's value that is  passed in. For eg: suppose you hava file1.txt in local disk, let say 'D' drive, copying file1.txt into Desktop and changing it doesn't change the content inside the file1.txt of 'D' drive. Pass by reference: pass a copy of the address of actual parameters. For eg: suppose you created a shortcut file for file1.txt in desktop then changing contents from shortcuts also changes file in 'D' drive. Above program prints 9, from which means copy of value 9 is sent to the argument for test function due to which printing value of x in main method give...

Unit Testing in java with JUnit Testing

Performing regression testing for each unit in the application is done by using JUnit testing framework in java. To know whether our created component of program are performing as expected or not, we can use JUnit testing framework. For the sake of simplicity let's perform a JUnit testing (in my case  using Netbeans IDE) for method which simply adds two integer and return the sum of two integers. Class with definiton of sum method Using our Netbeans IDE we can create test files for each individual file, by clicking class name inside the package, hover to tools then select create/update tests. After clicking create Update/Test options we are instructed to select the Testing framework, leave it as default and click ok. After selecting appropriate version of JUnit framework file with classname appended with 'Test'  is created inside Test Packages which includes the method inside our class with test before the actual method name and uppercase for f...