Skip to content

Rkpd's blog

Tech talks.
  • Home
  • About Us
  • Contact Us
  • Privacy Policy

Author: admin

Difference between Stringbuffer vs Stringbuilder.

December 26, 2016 admin Leave a comment

Test to check performance. public class Main { public static void main(String[] args) { int A = 77777777; long l;…

Continue Reading →

Difference between equals and ==.

admin Leave a comment

Examples. String car = “car”; String car2= “car”; System.out.println(car != car2); System.out.println(car == car2); If we run above code, we…

Continue Reading →

Difference between final vs finally vs finalize.

admin Leave a comment

Final Example. class ExampleOfFinal{ public static void main (String[] args){ final int y = 1; y = 2; // There…

Continue Reading →

Difference between heap vs stack.

admin Leave a comment

Main difference. More details. Stack: Stack is stored in computer RAM. As mentioned above, variables and function uses stack, memory…

Continue Reading →

Difference between overriding vs overloading.

admin Leave a comment

Overriding Example. class Tax{ public void calculateTax(){ System.out.println(“Total tax: state plus federal.”); } } class StateTax extends Tax{ public void…

Continue Reading →

Difference between REST vs SOAP.

admin Leave a comment

Continue Reading →

Difference between Sleep vs Wait.

admin Leave a comment

  synchronized(LOCK) { Thread.sleep(100); // here LOCK is held } synchronized(LOCK) { LOCK.wait(); // here LOCK is not held }…

Continue Reading →

Difference between Submit vs Execute.

admin Leave a comment

Continue Reading →

Difference between Super vs This.

admin Leave a comment

Continue Reading →

Difference between Comparator and Comparable.

December 4, 2016 admin Leave a comment

Comparator and Comparable both are used to sort collection of object by its property. Comparator sorting example. Object that needs…

Continue Reading →

Posts navigation

← Older posts

Contact Us

  • rkpd.global@mail.com
Copyright © 2025 Rkpd's blog — Primer theme by GoDaddy