I configured "/etc/network/interfaces" config file as such :
iface lo inet loopback
iface eth0 inet manual
iface wlan0 inet manual
and configured dhcpcd.conf by adding these lines at the end of file:
# Custom static IP address for eth0.
# Custom static IP address for wlan0.
With these configurations , I see my ethernet and wifi interfaces get specified ips successfully. Wireless connection is done also. But when i open web browser and try to reach a webpage, It just doesnt happen.