Skip to main content

Home/ Java Development/ Group items matching "programming" in title, tags, annotations or url

Group items matching
in title, tags, annotations or url

Sort By: Relevance | Date Filter: All | Bookmarks | Topics Simple Middle
Merit Campus

Online Java Training - Creating threads - 0 views

  •  
    There are two ways to create threads. 1. Create Threads implementing Runnable interface 2. Create Threads Extending Thread class When to use Runnable interface Use Runnable interface when your class is extending some other class. Since in Java mulitple inheritance is not possible we use Runnable interface to create Threads.
Merit Campus

Java Quote - 0 views

  •  
    If you control the code, you control the world.
Merit Campus

Coding is fun - 0 views

shared by Merit Campus on 05 Dec 14 - No Cached
  •  
    #Programmers do not #code for money. They do it because it's fun.
Merit Campus

Life motto. Be Awesome!! - 0 views

  •  
    Life motto. Be Awesome!!
Merit Campus

Java programming tutorial | Learn Java - 0 views

  •  
    Java Topic / Java tutorial Interfaces can be used to defer(or postpone) the implementation of the functionality.
Merit Campus

Method Overriding - Example | Learn Java Online - 0 views

  •  
    Java Topic / Java tutorial Here we will discuss about Method Overriding in detail and what are the different ways a method can be overridden.
Rinav G

JavaBlogging » What is serialVersionUID? - 2 views

  • private static final long serialVersionUID = 1L
  • and it is still there even after the program finished. Let’s see if we can read that file once again, this time without creating it first.
  • Now, let’s see what happens, when we change the serialVersionUID value and try to deserialize once again our file. Change the line 2 in the class SerializeMe so that serialVersionUID contains now 2 instead of 1:
  • ...13 more annotations...
  • serialVersionUID = 2L;
  • static final
  • Exception in thread "main" java.io.InvalidClassException:
  • As you can see, this time the deserialization didn’t go well. ObjectInputStream complained about the serialVersionUID being changed.
  • How does he know that it changed? If serialVersinUID is static, then it should not have been serialized in the first place, and there should be no information about the previous value 1 during the deserialization, right? Well, serialVersionUID is an exception to the rule that “static fields don’t get serialized”.
  • Moreover, if there is no serialVersionUID officially declared in the class to be serialized, compiler automatically adds it with a value generated based on the fields declared in the class.
  • The deserialization of that object does not necessarily have to occur exactly after serialization. It can occur after a few months or on a completely different JVM
  • there is a chance that the class declaration has changed between serialization and deserialization.
  • It checks if the data read from the input stream is compatible with the current definition of the class.
  • when the visibility of a field changes, the serialVersionUID changes too.
  • sometimes you just want for some reason to forbid deserialization of old serialized objects,
  • you might tend to write it once for every serializable class ( or have it generated by the IDE ) and forget about it. WRONG !!!
  • If you write it once and don’t take care to update it when necessary, you loose all the merits of serialVersionUID.
  •  
    What is serialVersionUID? What is it Used For???
Hendy Irawan

EasyMock - Mock Objects for interfaces & objects by generating them on the fly using Java proxy - 10 views

  •  
    "EasyMock provides Mock Objects for interfaces (and objects through the class extension) by generating them on the fly using Java's proxy mechanism. Due to EasyMock's unique style of recording expectations, most refactorings will not affect the Mock Objects. So EasyMock is a perfect fit for Test-Driven Development. EasyMock is open source software available under the terms of the Apache 2.0 license. Development, downloads and issue tracking are hosted on SourceForge. "
Javin Paul

The Complete DevOps Developer RoadMap - 0 views

  •  
    Your Guide to become DevOps Engineer by learning all the DevOps principles, tools like Docker, Kubernetes, Ansible and much more
krowddigital

Robotic Process Automation: A Revolution in Business Automation - 0 views

  •  
    Lets explore what is RPA ? (Robotic Process Automation) and Which challenges face in RPA? Lets we know
krowddigital

Angular Vs React, which is the best JavaScript Framework? - 1 views

  •  
    You do not need to worry as you have found the right blog here. We will help you decide which javascript is best for your project.
krowddigital

Why should you choose Krowd for Android App Development Services? - 1 views

  •  
    Due to this market leadership, android app developers will have more job stability, and the android platform is open source
krowddigital

About Us: Mobile App & Web Development services company - 1 views

  •  
    It is a great company to work with Krowd Digital.
krowddigital

Salesforce CRM Features and Benefits [Guide 2022] - 1 views

  •  
    CRM platforms such as Salesforce provide a single view of all departments, including sales, service, and marketing
krowddigital

The Ultimate Guide to Mobile App Development in 2022 - 1 views

  •  
    Mobile app development is booming. Businesses should invest in mobile apps during this era of digital transformation
krowddigital

Become a Full Stack Salesforce Developer- A Career That isn't Just About Code! - 1 views

  •  
    The customer relationship management business has been revolutionized by Salesforce today
krowddigital

Benefits of Hiring an Professional eCommerce Development Company - 1 views

  •  
    Today's hectic environment makes it difficult to find time to go shopping and buy necessities.
krowddigital

Full Stack Development: Why Its Right for Your Company - 1 views

  •  
    Full stack development is the latest trend among enterprises looking to reduce development costs
« First ‹ Previous 141 - 160 of 212 Next › Last »
Showing 20 items per page